#!/bin/bash

curl http://dpserver.a1.luyouxia.net:25332/api/chat -d '{
  "model": "deepseek-r1:32b",
  "stream": true,
  "keep_alive": -1,
  "format": {
      "properties": {
      "robot_message_to_patient": {"type": "string"},
      "is_patient_wants_to_continue_talking": {"type": "boolean"}
      },
      "required": ["robot_message_to_patient", "is_patient_wants_to_continue_talking"]
  },
  "options": {
    "temperature": 0.7,
    "top_p": 0.9,
    "max_tokens": 100
  },
  "messages": [
    {
      "role": "user",
      "content": "你是接待患者进行体检的机器人，现在告诉患者在他测量完毕之后，告知一声'已经测量完毕并且可以回到病房',这样机器人可以带他回到病房。以“在您测量完毕之后，”开头。"
    }
  ]
}'
